﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jzy.Model.Account;

using Jzy.DAL.Account;
using Frame.Lib.Core.Base;

namespace Jzy.BLL.Account
{
    public class AccountBO : CommonOperate<AccountInfo>
    {
        private AccountDAL _account;
        protected override BaseDAL DAL
        {
            get
            {
                return _account;
            }
        }
        public AccountBO()
        {
            _account = new AccountDAL();
        }

        public decimal SumIncome(string where,params object[] paras)
        {
            return _account.SumIncome(where, paras);

        }

        public decimal SumOut(string where,params object[] paras)
        {
            return _account.SumOut(where, paras);
        }
    }
}
